package cz.czu.pef.DataModelling.beans;

import javax.faces.bean.ManagedBean;

@ManagedBean(name="ddmenu")
public class Menu {
	private String current;
	
	public String getCurrent() {
		return this.current;
	}
	
	public void setCurrent(String current) {
		this.current = current;
	}
	
	public String doPerson() {
		this.current="PersonImpl";
		return null;
	}
	public String doOpen() {
		this.current="Open";
		return null;
	}
	public String doClose() {
		this.current="Close";
		return null;
	}
	public String doSave() {
		this.current="Save";
		return null;
	}
	public String doSaveAll() {
		this.current="Save All";
		return null;
	}
	public String doExit() {
		this.current="Exit";
		return null;
	}
}
